package com.qf.service;

import com.qf.pojo.User;
import com.qf.pojo.userbook;

import java.util.List;

public interface UserService {

    List<User> findAll();

    User findByUid(Integer uid);

    User login( String username, String password);
    int register(User user);
    int update(User user);
    int delete(int uid);
    User selectuserbyusername(String username);
    int tiajiashu(userbook userbook);

}
